package com.minsheng.epidemic_rep.dao;

import com.minsheng.epidemic_rep.config.MyDataSource;
import com.minsheng.epidemic_rep.entity.DatabaseType;
import com.minsheng.epidemic_rep.entity.Frmzzlcf;
import com.minsheng.epidemic_rep.entity.Sysjyjl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Classname SysjyjlDao
 * @Description TODO
 * @Date 2020/10/6 23:34
 * @Created by You
 */
@Repository
public interface SysjyjlDao {
    /**
     * 查询七日内发热门诊诊疗处方数据
     * @param
     * @return
     */
    @MyDataSource(type = DatabaseType.SLAVE1)
    public List<Sysjyjl> findAll(@Param("startTime") String starTime, @Param("endTime") String endTime);
}
